/**
 * @Author:卿雨欣
 * @Date:2020/7/12
 * @Description:这是产品赎回页面
 */
import React,{Component} from "react";
import {WhiteSpace} from "antd-mobile";
import NavChangeRatio from "./Components_ChangeRatio/NavChangeRatio";
import FormNow from "./Components_ChangeRatio/FormNow";
import { createForm } from 'rc-form';
const FormNowWrapper = createForm()(FormNow);
export default class ChangeRatio extends Component{
    constructor(props) {
        super(props);
    }
    render(){
        return(
            <div>
                <NavChangeRatio/>
                <WhiteSpace size="lg"/>
                <WhiteSpace size="lg"/>
                <WhiteSpace size="lg"/>
                <WhiteSpace size="lg"/>
                <FormNowWrapper
                    comBaseId = {this.props.location.state.comBaseId}
                    comBaseName = {this.props.location.state.comBaseName}
                    wealthAccountId = {this.props.location.state.wealthAccountId}
                    history={this.props.history}
                />
            </div>
        )
    }
}